html {
    width: 100%;
    height: 100%;

    body {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;

        main {
            width: 100%;
            overflow: scroll;
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;

            .swiper {
                width: 100%;
                height: 200px;
                flex-shrink: 0;
                margin-bottom: 15px;

                img {
                    width: 100%;
                    height: 200px;
                }
            }

            .first {
                width: 94%;
                height: 150px;
                margin-bottom: 15px;
                flex-shrink: 0;
                display: flex;
                justify-content: space-between;
                font-weight: bold;

                .todayrank {
                    width: 40%;
                    height: 150px;
                    border-radius: 20px;
                    background: url(../../assets/imgs/index-card-rank.png) no-repeat left center, #83b8ff;
                    background-size: 144px 144px;
                    color: #0f6ba3;
                    box-sizing: border-box;
                    padding-top: 10px;

                    h3 {
                        margin-left: 15px;
                        line-height: 30px;
                    }

                    #ranking {
                        display: block;
                        text-align: right;
                        font-size: 50px;
                        color: #fff;
                    }

                }

                .clockin {
                    width: 55%;
                    height: 150px;
                    border-radius: 20px;
                    background: url(../../assets/imgs/index-card-sum.png) no-repeat left center, #a4c7f5;
                    background-size: 118px 118px;
                    color: #0f4363;
                    box-sizing: border-box;
                    padding-top: 10px;

                    h3 {
                        margin-left: 15px;
                        line-height: 30px;
                    }

                    .clockBtn {
                        color: #264653;
                        width: 100px;
                        height: 40px;
                        border-radius: 20px;
                        border: 3px solid #004e73;
                        background: transparent;
                        bottom: 30px;
                        right: 15px;
                    }
                }
            }

            .second {
                width: 94%;
                height: 110px;
                margin-bottom: 15px;
                flex-shrink: 0;
                display: flex;
                justify-content: space-between;

                .sportdata {
                    width: 46%;
                    height: 110px;
                    background: url(../../assets/imgs/2.jpg) no-repeat;
                    background-size: cover;
                    border-radius: 20px;
                }

                .badge {
                    width: 46%;
                    height: 110px;
                    background: url(../../assets/imgs/index-card-badge.png) no-repeat, #2a9d8f;
                    background-size: contain;
                    border-radius: 20px;
                    color: #264653;

                    p {
                        text-align: right;
                        margin-right: 10px;

                        #badges {
                            font-size: 60px;
                        }
                    }

                    ;


                }

                h3 {
                    margin-left: 15px;
                    line-height: 30px;
                }
            }

            .three {
                width: 94%;
                height: 110px;
                margin-bottom: 15px;
                flex-shrink: 0;
                background: url(../../assets/imgs/4.jpg) no-repeat center;
                border-radius: 20px;
                box-sizing: border-box;
                padding-top: 10px;

                h3 {
                    color: #fff;
                    margin-left: 15px;
                    line-height: 30px;
                }
            }

            .four {
                width: 94%;
                height: 110px;
                margin-bottom: 15px;
                flex-shrink: 0;
                background: url(../../assets/imgs/6.jpg) no-repeat;
                background-size: cover;
                border-radius: 20px;
                box-sizing: border-box;
                padding-top: 10px;

                h3 {
                    color: #fff;
                    margin-left: 15px;
                    line-height: 30px;
                }
            }
        }
    }

}

::-webkit-scrollbar {
    width: 0;
}